<%@ page language="java" contentType="text/html; charset=utf-8"%>
<style>
.border_distance{                    
	border:2px solid #CD6090;              
}        
.border_distance tr td{            
	border:1px solid #CD6889;                 
}
.td-left{
	bgcolor:"#DB7093";
	width:100px;
}
</style>
<html>
<head>
<title>添加图书</title>
	<script type="text/javascript">
		document.getElementById("filename").value=document.getElementById("image").value;
	</script>
</head>
<body  bgcolor="pink">
	<h2 align="center">图书添加</h2>
	<hr>
	<form action="/addBookServlet" method="post">
	<table class="border_distance" width="300" align="center"  bgcolor="white">
			<tr>
				<td align="center"  class="td-left">图书id</td>
				<td>
					<input type='text' name="id" >
				</td>
			</tr>
			<tr>
				<td align="center" class="td-left">图书名称</td>
				<td>
					<input type='text' name="bookName"/>
				</td>
			</tr>
			<tr>
				<td align="center"  class="td-left">图书作者</td>
				<td>
					<input type='text' name="author" />
				</td>
			</tr>
			<tr>
				<td align="center"  class="td-left">出版社</td>
				<td>
					<input type='text' name="press"/>
				</td>
			</tr>
			<tr>
				<td align="center"  class="td-left">图书价格</td>
				<td>
					<input type='text' name="price"/>
				</td>
			</tr>
			<tr>
				<td align="center" class="td-left">图书数量</td>
				<td>
					<input type='text' name="num"/>
				</td>
			</tr>
			<tr>
				<td align="center"  class="td-left">图像信息</td>
				<td>
					<input type="text" name="image"/>
				</td>
			</tr>
			<tr>
				<td colspan="" align="center">
					<input type="submit" value="确认添加"/>
				</td>
				<td>
					<a href="${pageContext.request.contextPath}/listBookServlet">返回图书管理页</a>
				</td>
			</tr>
	</table>
	</form>
	<br>
</body>
</html>    